package com.maiji.cloud.entities.login;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 用户签到表 Description:
 * 
 * @author zhanglr
 * @date 2019年7月2日
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "user_sign_in")
@TableName("user_sign_in")
public class UserSignInEntity {
	
	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId;
	
	@Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String userId;//用户id

	@Column(name = "day", type = MySqlTypeConstant.INT, length = 50)
	private Integer day; //;连续签到天数
	
	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
    private Date inTime;  //签到时间
	
	
	@Column(name = "integral", type = MySqlTypeConstant.INT, length = 11)
	private Integer integral;  //签到获得时间
	
	

}
